export default {
  extend: {
    grid: {
      top: 20,
      bottom: 50
    },
    yAxis: {
      splitLine: {
        show: false
      },
      axisLabel: {
        color: '#cccdcf'
      }
    },
    xAxis: {
      axisLabel: {
        color: '#cccdcf'
      }
    },
    series: {
      symbol: 'none',
      areaStyle: {
        color: {
          type: 'linear',
          x: 0,
          y: 0,
          x2: 1,
          y2: 1,
          colorStops: [{
            offset: 0, color: 'rgba(0,254,157,0.5)' // 0% 处的颜色
          }, {
            offset: 0.31, color: 'rgba(2,191,241,0.5)' // 31% 处的颜色
          }, {
            offset: 0.67, color: 'rgba(51,156,255,0.5)' // 67% 处的颜色
          }, {
            offset: 1, color: 'rgba(145,127,255,0.5)' // 100% 处的颜色
          }],
          global: false // 缺省为 false
        }
      },
      lineStyle: {
        color: {
          type: 'linear',
          x: 0,
          y: 0,
          x2: 1,
          y2: 0,
          colorStops: [{
            offset: 0, color: '#00fe9d' // 0% 处的颜色
          }, {
            offset: 0.31, color: '#02bff1' // 31% 处的颜色
          }, {
            offset: 0.67, color: '#339cff' // 67% 处的颜色
          }, {
            offset: 1, color: '#917fff' // 100% 处的颜色
          }],
          global: false // 缺省为 false
        }
      }
    },
    legend: {
      show: false
    }
  }
}
